package org.his.pojo.xinwen;

import java.io.Serializable;
import java.util.Objects;

public class NState implements Serializable {
    private Integer stateid;
    private String stataClass;
    private String stateName;

    public Integer getStateid() {
        return stateid;
    }

    public void setStateid(Integer stateid) {
        this.stateid = stateid;
    }

    public String getStataClass() {
        return stataClass;
    }

    public void setStataClass(String stataClass) {
        this.stataClass = stataClass;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        NState that = (NState) o;
        return Objects.equals(stateid, that.stateid) &&
                Objects.equals(stataClass, that.stataClass) &&
                Objects.equals(stateName, that.stateName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(stateid, stataClass, stateName);
    }
}
